package com.itany.shop.config;

import com.itany.mvc.annotation.Configuration;
import com.itany.mvc.config.ResourceHandlerRegistry;
import com.itany.mvc.config.WebConfigurer;

/**
 * Description: 类的描述
 * Author: liudaolin@itany.com
 * Date: 2021/07/21 15:30
 * Version: 1.0 版本信息
 */
@Configuration
public class MyConfig extends WebConfigurer {
    @Override
    public void addViewControllers(ResourceHandlerRegistry registry) {
        registry.addViewController("back_productManage", "/showProductManage");
        registry.addViewController("front_index", "/showIndex");
        registry.addViewController("front_order", "/showMyOrder");
        registry.addViewController("front_shopcart", "/showCart");
    }
}
